<div class="panel" *ngIf="siteStatus">
  <div class="panel-heading">
      <img src="../../assets/ybp.png" class="head-i"/>网站状态
  </div>
  <ul class="inner" >
    <li>访问总数：{{siteStatus.visitors}}</li>
    <li>文章总数：{{siteStatus.articles}}</li>
    <li>评论总数：{{siteStatus.comments}}</li>
    <li>会员总数：{{siteStatus.users}}</li>
    <li>在线访客：{{siteStatus.onlineNum}}</li>
    <li>在线会员：{{siteStatus.onlineUsers}}</li>
    <li>在线记录：{{siteStatus.maxOnlineNum}}</li>
    <li>时间：{{siteStatus.maxOnlineTime|date:'yy-MM-dd HH:mm:ss'}}</li>
  </ul>
</div>

<div *ngFor="let item of itemList;let i = index;trackBy: trackByValue">
  <div [ngSwitch]="item.value" (click)="clickItem(i)">
      <a *ngSwitchCase="1" appOniBigSize>value is 1:{{item.value}}</a>
      <a *ngSwitchCase="2">value is 2:{{item.value}}</a>
  </div>
</div>

<div appOniBigSize [initFontSize]='10' bigFontSize="200">很大</div>